<?php /*
Consider input $b = array(1,2,3,1,4,5,6,3,7,2,8,4,6,2,8,9,4,3,5,6,2,7,8,9,1,2,5,7,8,4,6,9);
From the array find out the each numbers repeated how many times.
*/?>
<?php
 $b = array(1,2,3,1,4,5,6,3,7,2,8,4,6,2,8,9,4,3,5,6,2,7,8,9,1,2,5,7,8,4,6,9);
 $text = implode("",$b);
 $output =count_chars($text,1);
 foreach($output as $key=>$value)
 {
	echo 'Total Number of '. chr($key) . ' in ' . $value . ' times !!! '. '<br>';
 }
 
 ?>